<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="Mode settings, mode, spell, font"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Change Mode settings in CotEditor on Mac</title>
</head>

<body>
<a name="settings_mode"></a>

<h1>Change Mode settings in CotEditor on Mac</h1>

<p>In the CotEditor app <img class="appicon" srcset="../../Shared/gfx/icon_32x32@2x.png 2x" alt=""/> on your Mac, use Mode settings to adjust how editors behave depending on the document type.</p>

<p>To change these settings, choose CotEditor &gt; Settings, then click Mode.</p>


<table class="settings">
<caption>Modes</caption>
<thead>
	<tr><th>Option</th><th>Description</th></tr>
</thead>

<tbody>
	<tr>
		<th>Mode</th>
		<td>Select the mode to edit in the right pane.</td>
	</tr>
	<tr>
		<th>Add +</th>
		<td>Add mode settings for a specific syntax.</td>
	</tr>
	<tr>
		<th>Delete -</th>
		<td>Delete the mode options for the selected syntax. You cannot delete mode options for syntax kinds such as General or Code.</td>
	</tr>
</tbody>
</table>


<table class="settings">
<caption>Mode Options</caption>
<thead>
	<tr><th>Option</th><th>Description</th></tr>
</thead>

<tbody>
	<tr>
		<th>Prefer font using</th>
		<td>Select whether editors use the standard font or the monospaced font. Each font is set in <a href="settings_appearance.html">Appearance settings</a>.</td>
	</tr>
</tbody>

<tbody>
	<tr>
		<th>Smart copy/paste</th>
		<td>When you paste or drag text between other words, spaces are added or removed automatically to keep spacing correct.</td>
	</tr>

	<tr>
		<th>Smart quotes</th>
		<td>Replace straight quotes (&quot;) with matching typographic quotes (such as “ or ”) when typing.</td>
	</tr>
	
	<tr>
		<th>Smart dashes</th>
		<td>Replace two hyphens (--) with a typographic dash (—) when typing.</td>
	</tr>
	
	<tr>
		<th>Text replacement</th>
		<td>Replace text automatically using the replacements set in System Settings &gt; Keyboard &gt; Text Replacements.</td>
	</tr>
	
	<tr>
		<th>Add period with double-space</th>
		<td>Insert a period when you press the Space bar twice after a word.</td>
	</tr>

	<tr>
		<th>Automatically insert closing brackets and quotes</th>
		<td>When you type an opening bracket or quotation mark, the matching closing character is inserted automatically, and the insertion point moves between the pair.</td>
	</tr>
</tbody>

<tbody>
	<tr>
		<th>Check spelling while typing</th>
		<td>Check spelling automatically as you type. Misspelled words are underlined in red, and suggested corrections are shown.</td>
	</tr>
	
	<tr>
		<th>Check grammar with spelling</th>
		<td>Check grammar automatically while checking spelling. Grammar issues are indicated with a dotted blue underline. Move the pointer over an underlined word to see a description of the issue. <em>Note</em>: Grammar checking is not available for all regions or languages.</td>
	</tr>
	
	<tr>
		<th>Correct spelling automatically</th>
		<td>Automatically correct misspelled words as you type. Corrected words are briefly underlined, and you can undo the autocorrection.</td>
	</tr>
</tbody>

<tbody>
	<tr>
		<th>Completion list includes</th>
		<td>Select the types of words that appear in the completion list:
			<ul>
				<li><em>Standard words</em>: Includes standard dictionary words.</li>
				<li><em>Words in document</em>: Includes words that appear in your document.</li>
				<li><em>Words defined in syntax</em>: Includes words <a href="syntax_completion_settings.html">defined in the syntax</a> (If the syntax definition doesn’t include completion words, CotEditor generates them from the definition).</li>
			</ul></td>
	</tr>

	<tr>
		<th>Suggest completions while typing</th>
		<td>Show the completion list automatically while typing when possible completions exist.</td>
	</tr>
</tbody>
</table>


<section id="cf">
<h2>See also</h2>
<ul>
	<li><a href="about_mode.html">Switch editor modes in CotEditor on Mac</a></li>
	<li><a href="settings.html">Change settings in CotEditor on Mac</a></li>
</ul>
</section>

</body>
</html>
